/**
 * Author: Dmitry Ustimov
 * Date: 6/1/13
 * Time: 10:11 PM
 */

package com.gmail.dmitryustimov.ms.java7.chain_of_responsibility.mod.mod_multy_type_actionmap.demo.handlers6_request1;

public abstract class Request {

    private int requestLevel;
    private String name;

    public Request(String name, int requestLevel) {
        this.requestLevel = requestLevel;
        this.name = name;
    }

    public int getRequestLevel() {
        return requestLevel;
    }

    public void setRequestLevel(int requestLevel) {
        this.requestLevel = requestLevel;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String toString() {
        return "Request:" + name;
    }

}
